export default { 
  data () {
    return {
     hour:12,
     minute:30,
     hourshow:false,
     minuteshow:false,
     alertshow:false,
     hours:[{h:'09'},{h:'10'},{h:'11'},{h:'12'},{h:'13'},{h:'14'},{h:'15'},{h:'16'},{h:'17'},{h:'18'},{h:'19'},{h:'20'},{h:'21'},{h:'22'}],
	 minutes:[{min:'00'},{min:'05'},{min:'15'},{min:'20'},{min:'25'},{min:'30'},{min:'35'},{min:'40'},{min:'45'},{min:'50'},{min:'55'}],
     zhuoziAs:[{id:1,usable:1,active:0},{id:2,usable:1,active:0},{id:3,active:0},{id:4,usable:1,active:0},{id:5,active:0}],
     zhuoziBs:[{id:1,usable:1,active:0},{id:2,usable:1,active:0},{id:3,active:0},{id:4,usable:1,active:0},{id:5,active:0},{id:6,active:0},{id:7,usable:1,active:0},{id:8,active:0},{id:9,active:0}],
     zhuoziCs:[{id:1,usable:1,active:0},{id:2,usable:1,active:0},{id:3,active:0},{id:4,usable:1,active:0},{id:5,active:0}],
     zhuoziDs:[{id:1,usable:1,active:0},{id:2,usable:1,active:0},{id:3,usable:1,active:0},{id:4,active:0},{id:5,usable:1,active:0},{id:6,usable:1,active:0},{id:7,active:0},{id:8,usable:1,active:0}],
    }
  },
  methods: { 
  	hourShow: function (){
  		this.hourshow=true;
  	},
  	Hour: function (hour){
  		this.hour=hour.h;
  		this.hourshow=false;
  	},
  	minuteShow: function (){
  		this.minuteshow=true;
  	},
  	Minute: function (minute){
  		this.minute=minute.min;
  		this.minuteshow=false; 	
  	},
    iconactive: function (zhuozi){ 
    	if(zhuozi.usable==1){
    		if(zhuozi.active==0){
    			zhuozi.active=1;
    		}else{
    			zhuozi.active=0;
    		}
    	}else{
    			alert("该位置暂不可选");
    		}
    	
    },
    Yuyie: function (){
  		this.alertshow=true;
  	},
    Nogo: function (){
  		this.alertshow=false;
  	},
  },
}